# 配置文件
from tortoise.transactions import in_transaction


async def get_db():
    async with in_transaction() as connection:
        yield connection